package com.dfd.mango.consumer.feign;

import com.dfd.mango.consumer.hystrix.MangoProducerhHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "mango-producer", fallback = MangoProducerhHystrix.class)
public interface MangoProducerService {

    @RequestMapping("/hello")
    public String hello();

}
